package com.heima.behavior.service;

import com.heima.model.behavior.dtos.LikesBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

public interface BehaviorService {


    /**
     * 点赞、取消点赞
     */
    ResponseResult isLikes(LikesBehaviorDto dto);


    /**
     * 阅读
     * @param dto
     * @return
     */
    ResponseResult read(ReadBehaviorDto dto);


    /**
     * 不喜欢
     * @param dto
     * @return
     */
    ResponseResult unLikes(UnLikesBehaviorDto dto);
}
